﻿using Estsh.Core.Models;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;

namespace Estsh.Core.Model.Extend
{
    public class ActionMessage 
    {
        /// <summary>
        /// 任务号 
        /// </summary> 
        public string SID { get; set; }
        /// <summary>
        /// 事件点标识
        /// 工厂代码(x2) + 业务代码(x3) + 设备代码(x2)
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 请求内容
        /// </summary>
        public object RequestData { get; set; }
        ///// <summary>
        ///// 结果
        ///// </summary>
        //public object Data { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary> 
        public DateTime Timestamp { get; set; }
        /// <summary>
        /// 消息发送端
        /// </summary>
        public string Sender { get; set; }
        ///// <summary>
        ///// 返回状态
        ///// </summary>
        //public short Status { get; set; }
        /// <summary>
        /// 工厂代码
        /// </summary>
        public string FactoryCode { get; set; }
        ///// <summary>
        ///// 错误消息
        ///// </summary>
        //public object ErrMsg { get; set; }

    }
}